<h2>Log in</h2>
<% form_for :user do |form| %>
<fieldset>
  <legend>Enter Your Details</legend> 
	<dl>
		<dt><label for="screen_name">Username:</label></dt>
		<dd><%= form.text_field :username, 
                        :size => User::USERNAME_SIZE,
                        :maxlength => User::USERNAME_MAX_LENGTH %></dd>
		<dt><label for="password">Password:</label></dt>
		<dd><%= form.password_field :password, 
                            :size => User::PASSWORD_SIZE,
                            :maxlength => User::PASSWORD_MAX_LENGTH %></dd>
		<dt><label for="remember_me">Remember Me?</label></dt>
		<dd><%= form.check_box :remember_me %></dd>
		<dt class="submit"><!--submit title--></dt>
		<dd class="submit"><%= submit_tag "Login!", :class => "submit" %></dd>
	</dl>
</fieldset>
<% end %>

<p>
  Not a member?  <%= link_to "Register now!", :action => "register" %>
</p>

<% if ENV["RAILS_ENV"]=="development" %>
<h2>TESTERS</h2>
<p>
	The following accounts are available for testing: <br />
	<em>volcom, otwmember, translator, volunteer, otwtranslator</em> <br />
	All have the password <strong>v@LidPassW()rd</strong>.
</p>
<% end %>